#!/usr/bin/env node


const arg=process.argv[2],
      exp=process.argv[3];

if(process.argv.length!==4){
  console.error('参数要为两个');
  process.exit(1);
}else if(isNaN(Number(arg))){
  console.error('参数要为数字');
  process.exit(2)
}else{
  process.kill(exp,arg)
}


